import {createApp} from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import App from './App.vue';
import 'virtual:windi.css';

const appTitle = import.meta.env.VITE_APP_TITLE;
if (appTitle) {
    document.title = appTitle;
}
const app = createApp(App);
// 全局注册 Element Plus
app.use(ElementPlus);
app.mount('#app');